import React, { Component } from 'react'

export default class FoodDetail extends Component {
  componentDidMount () {
    console.log(this.props.match.params)
  }

  render () {
    return (
      <div>
        FoodDetail
        <img
          src='https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2Fa2a0315d-347a-41d8-acff-30b82d73a6b7%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1691811562&t=602a5e9fb474105b66b4e3db3e1669fb'
          alt=''
        />
      </div>
    )
  }
}
